<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="author" content="Laurence-042">
    
    
    
    
    
    
    <title>hey there | Laurence</title>
    <link href=”https://laurence-042.github.io“ rel=”prefetch” />

    <link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/aos.css">
<link rel="stylesheet" href="/css/style.css">
    <script src="/js/jquery.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    <script src="/js/aos.js"></script>
    <script src="/js/highslide/highslide-full.min.js"></script>
    <link rel="stylesheet" href="/js/highslide/highslide.css">
    <style type="text/css">
        @media (max-width: 768px) {
            body {
                background-color: #f0f0f0;
                background: url('/imgs/xsbg.jpg');
                background-attachment: fixed;
            }
        }
    </style>
    
    <!--<script type="text/javascript">
      if (document.images) {
        var avatar = new Image();
        avatar.src = '/imgs/dr.png'
        var previews = 'http://bing.ioliu.cn/v1/rand'.split(',')
        var previewsPreLoad = []
        for(var i = 0; i < length; i++) {
          previewsPreLoad.push(new Image())
          previewsPreLoad[previewsPreLoad.length - 1].src = '/imgs/preview' + previews[i]
        }
      }
    </script>-->

    <!--highlight.js-->
    <link rel="stylesheet" href="//cdn.bootcss.com/highlight.js/9.2.0/styles/github.min.css">
    <script src="//cdn.bootcss.com/highlight.js/9.2.0/highlight.min.js"></script>
</head>
<body>
    <!-- 背景轮播图功能 -->
    <section class="hidden-xs">
    <ul class="cb-slideshow">
        <li><span>天若</span></li>
        <li><span>有情</span></li>
        <li><span>天亦老</span></li>
        <li><span>我为</span></li>
        <li><span>长者</span></li>
        <li><span>续一秒</span></li>
    </ul>
</section>
    <!-- 欧尼酱功能, 谁用谁知道 -->
    
    <header class="navbar navbar-inverse" id="gal-header">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed"
                    data-toggle="collapse" data-target=".bs-navbar-collapse"
                    aria-expanded="false">
                <span class="fa fa-lg fa-reorder"></span>
            </button>
            <a href="https://laurence-042.github.io">
                
                <style>
                    #gal-header .navbar-brand {
                        height: 54px;
                        line-height: 24px;
                        font-size: 28px;
                        opacity: 1;
                        background-color: rgba(0,0,0,0);
                        text-shadow: 0 0 5px #fff,0 0 10px #fff,0 0 15px #fff,0 0 20px #228DFF,0 0 35px #228DFF,0 0 40px #228DFF,0 0 50px #228DFF,0 0 75px #228DFF;
                    }
                </style>
                <!-- 这里使用文字(navbar_text or config.title) -->
                <div class="navbar-brand">Laurence</div>
                
            </a>
        </div>
        <div class="collapse navbar-collapse bs-navbar-collapse">
            <ul class="nav navbar-nav" id="menu-gal">
                
                
                <li class="">
                    <a href="/">
                        <i class="fa fa-home"></i>首页
                    </a>
                </li>
                
                
                
                <li class="">
                    <a href="/archives">
                        <i class="fa fa-archive"></i>归档
                    </a>
                </li>
                
                
                
                
                <li class="">
                    <a href="/categories">
                        <i class="fa fa-list"></i>分类
                    </a>
                </li>
                
                
                
                
                
                <li class="dropdown">
                    <!-- TODO 添加hover dropdown效果 -->
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"
                       aria-haspopup="true" aria-expanded="false" data-hover="dropdown">
                        <i class="fa fa-tags"></i>标签
                    </a>
                    <ul class="dropdown-menu">
                        
                        
                        <li>
                            <a href="/tags/Java/">Java</a>
                        </li>
                        
                        <li>
                            <a href="/tags/笔记/">笔记</a>
                        </li>
                        
                        <li>
                            <a href="/tags/日常/">日常</a>
                        </li>
                        
                        <li>
                            <a href="/tags/纯记忆的学习笔记/">纯记忆的学习笔记</a>
                        </li>
                        
                        <li>
                            <a href="/tags/Python/">Python</a>
                        </li>
                        
                        <li>
                            <a href="/tags/不定期更新/">不定期更新</a>
                        </li>
                        
                        
                        <li>
                            <a href="/tags">...</a>
                        </li>
                        
                        
                    </ul>
                </li>
                
                
                
                
                <li class="">
                    <a href="/about">
                        <i class="fa fa-user"></i>关于我
                    </a>
                </li>
                
                
            </ul>
        </div>
    </div>
</header>
    <div id="gal-body">
        <div class="container">
            <div class="row">
                <div class="col-md-8 gal-right" id="mainstay">
                    
<article class="article well article-body" id="article">
    <div class="breadcrumb">
        <i class="fa fa-home"></i>
        <a href="https://laurence-042.github.io">Laurence</a>
        >
        <span>hey there</span>
    </div>
    <!-- 大型设备详细文章 -->
    <div class="hidden-xs">
        <div class="title-article">
            <h1>
                <a href="/2018/06/28/hey-there/">hey there</a>
            </h1>
        </div>
        <div class="tag-article">
            
            <span class="label label-gal">
                <i class="fa fa-tags"></i>
                
                <a href="/tags/hey/">hey!</a>
                
            </span>
            
            <span class="label label-gal">
                <i class="fa fa-calendar"></i> 2018-06-28
            </span>
            
        </div>
    </div>
    <!-- 小型设备详细文章 -->
    <div class="visible-xs">
        <center>
            <div class="title-article">
                <h4>
                    <a href="/2018/06/28/hey-there/">hey there</a>
                </h4>
            </div>
            <p>
                <i class="fa fa-calendar"></i> 2018-06-28
            </p>
            <p>
                
                <i class="fa fa-tags"></i>
                
                <a href="/tags/hey/">hey!</a>
                
                
                
            </p>
        </center>
    </div>
    <div class="content-article">
        <h3 id="Not-too-hard"><a href="#Not-too-hard" class="headerlink" title="Not too hard?"></a>Not too hard?</h3><p>本博客第一篇测试用文章，内含一些这个鶸初用Ubuntu时遇到的一堆问题中的一部分常见问题<br><del>（顺便测试preview功能是否可以离线使用）</del><br>测试完毕，没法用······<br><del>测试能不能用GitHub的repo作为图片源</del><br><del>测试完毕，PC显示没问题，但Android还是没法用······</del><br><del>等等！我发现了问题······Android使用“中转站”之后就能显示图片了···</del><br>···确定问题所在了，是我们校园网的锅，我的手机用校园网上GitHub的话只能接收到基础html页面，用蜂窝网络（流量）之后就能正常显示图片了。然而为啥直接用校园网会无法加载但中转后就行了呢，这真是个微妙的问题······  </p>
<a id="more"></a>
<h1 id="Linux-Ubuntu-using"><a href="#Linux-Ubuntu-using" class="headerlink" title="Linux-Ubuntu-using"></a>Linux-Ubuntu-using</h1><p>使用ubuntu遇到的的各种问题的解决方式</p>
<h3 id="软件安装"><a href="#软件安装" class="headerlink" title="软件安装"></a>软件安装</h3><blockquote>
<p><a href="https://github.com/Laurence-042/Linux-Ubuntu-using/blob/master/%E5%AE%89%E8%A3%85%E8%BD%AF%E4%BB%B6.md" target="_blank" rel="noopener">安装软件</a><br><a href="https://github.com/Laurence-042/Linux-Ubuntu-using/blob/master/apt-get%E8%BF%87%E6%85%A2%EF%BC%8C%E6%8D%A2%E6%BA%90.md" target="_blank" rel="noopener">apt-get过慢，换源</a><br><a href="https://github.com/Laurence-042/Linux-Ubuntu-using/blob/master/%E5%AE%89%E8%A3%85pip%E7%AD%89%E7%9A%84%E6%97%B6%E5%80%99%E6%97%A0%E6%B3%95%E5%AE%9A%E4%BD%8D%E8%BD%AF%E4%BB%B6%E5%8C%85.md" target="_blank" rel="noopener">安装pip等的时候无法定位软件包</a>  </p>
</blockquote>
<h3 id="文件操作"><a href="#文件操作" class="headerlink" title="文件操作"></a>文件操作</h3><blockquote>
<p><a href="https://github.com/Laurence-042/Linux-Ubuntu-using/blob/master/%E6%9B%B4%E6%94%B9%E6%96%87%E4%BB%B6%E6%9D%83%E9%99%90.md" target="_blank" rel="noopener">更改文件权限</a><br><a href="https://github.com/Laurence-042/Linux-Ubuntu-using/blob/master/%E6%8C%82%E8%BD%BD%E5%85%89%E7%9B%98.md" target="_blank" rel="noopener">挂载光盘</a>  </p>
</blockquote>
<h3 id="杂项"><a href="#杂项" class="headerlink" title="杂项"></a>杂项</h3><blockquote>
<p><a href="https://github.com/Laurence-042/Linux-Ubuntu-using/blob/master/Shadowsocks%20%E8%B3%BC%E8%B2%B7%E5%92%8C%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B.md" target="_blank" rel="noopener">Shadowsocks 購買和使用教程</a><br><a href="https://github.com/Laurence-042/Linux-Ubuntu-using/blob/master/%E4%B8%A4%E7%B3%BB%E7%BB%9F%E9%97%B4%E6%97%B6%E9%97%B4%E5%B7%AE8h.md" target="_blank" rel="noopener">两系统间时间差8h</a><br><a href="https://github.com/Laurence-042/Linux-Ubuntu-using/blob/master/%E5%AE%89%E8%A3%85%E5%8F%8C%E7%B3%BB%E7%BB%9F%E5%90%8E%E6%89%BE%E4%B8%8D%E5%88%B0win10.md" target="_blank" rel="noopener">安装双系统后找不到win10</a>  </p>
</blockquote>
<h3 id="git"><a href="#git" class="headerlink" title="git"></a>git</h3><blockquote>
<p><a href="https://github.com/Laurence-042/Linux-Ubuntu-using/blob/master/git_https%E8%AE%B0%E4%BD%8F%E7%94%A8%E6%88%B7%E5%90%8D%E5%92%8C%E5%AF%86%E7%A0%81.md" target="_blank" rel="noopener">git之https或http方式设置记住用户名和密码的方法</a><br><!--more--></p>
</blockquote>

    </div>
</article>


<div id="comments-template"></div>
<link rel="stylesheet" href="https://imsun.github.io/gitment/style/default.css">
<script>
	if(!window.commentConfig) {
      window.commentConfig = {}
      window.commentConfig.title = 'hey there'
    }
</script>

                </div>
                <aside class="col-md-4 gal-left" id="sidebar">
    <!-- 此为sidebar的搜索框, 非搜索结果页面 -->
<aside id="sidebar-search">
    <div class="search hidden-xs" data-aos="fade-up" data-aos-duration="2000">
        <form class="form-inline clearfix" id="search-form" method="get"
              action="/search/index.html">
            <input type="text" name="s" class="form-control" id="searchInput" placeholder="搜索文章~">
            <button class="btn btn-danger btn-gal" type="submit">
                <i class="fa fa-search"></i>
            </button>
        </form>
    </div>
</aside>
    <aside id="sidebar-author">
    <div class="panel panel-gal" data-aos="flip-right" data-aos-duration="3000">
        <div class="panel-heading" style="text-align: center">
            <i class="fa fa-quote-left"></i>
            Laurence-042
            <i class="fa fa-quote-right"></i>
        </div>
        <div class="author-panel text-center">
            <img src="/imgs/dr.png" width="140" height="140"
                 alt="个人头像" class="author-image">
            <p class="author-description"></p>
        </div>
    </div>
</aside>
    
    <aside id="sidebar-recent_comments">
    <div class="panel panel-gal recent hidden-xs" data-aos="fade-up" data-aos-duration="2000">
        <div class="panel-heading">
            <i class="fa fa-comments"></i>
            最新评论
            <i class="fa fa-times-circle panel-remove"></i>
            <i class="fa fa-chevron-circle-up panel-toggle"></i>
        </div>
        <ul class="list-group list-group-flush"></ul>
    </div>
</aside>
    
    <!-- 要配置好leancloud才能开启此小工具 -->
    
    
    <aside id="sidebar-recent_posts">
    <div class="panel panel-gal recent hidden-xs" data-aos="fade-up" data-aos-duration="2000">
        <div class="panel-heading">
            <i class="fa fa-refresh"></i>
            近期文章
            <i class="fa fa-times-circle panel-remove"></i>
            <i class="fa fa-chevron-circle-up panel-toggle"></i>
        </div>
        <ul class="list-group list-group-flush">
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/10/08/一个鶸的自我修养/">一个鶸的自我修养</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/10/08/hello-world/">Hello World</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/08/08/给真·小白的关于初用远程Linux系统的简单入门/">给真·小白的关于初用远程Linux系统的简单入门</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/08/02/令新人各种懵逼的各种概念/">令新人各种懵逼的各种概念</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/07/31/Python-MySQL数据查询/">Python-MySQL数据查询</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/07/28/Python笔记-这个鶸仍未搞明白的东西/">Python笔记-这个鶸仍未搞明白的东西</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/07/26/Python笔记-特殊变量/">Python笔记-特殊变量</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/07/25/Fullmetal Alchemist!!!/">Fullmetal Alchemist!!!</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/07/23/Python笔记-陌生的lambda/">Python笔记-陌生的lambda</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/07/22/DFS-BFS学习笔记/">DFS,BFS学习笔记</a>
                </span>
            </li>
            
        </ul>
    </div>
</aside>
    
    
    <aside id="sidebar-rand_posts">
    <div class="panel panel-gal recent hidden-xs" data-aos="fade-up" data-aos-duration="2000">
        <div class="panel-heading">
            <i class="fa fa-refresh"></i>
            随机文章
            <i class="fa fa-times-circle panel-remove"></i>
            <i class="fa fa-chevron-circle-up panel-toggle"></i>
        </div>
        <ul class="list-group list-group-flush">
            
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/07/25/Fullmetal Alchemist!!!/">Fullmetal Alchemist!!!</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/07/31/Python-MySQL数据查询/">Python-MySQL数据查询</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/07/28/Python笔记-这个鶸仍未搞明白的东西/">Python笔记-这个鶸仍未搞明白的东西</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/10/08/hello-world/">Hello World</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/06/28/hey-there/">hey there</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/10/08/一个鶸的自我修养/">一个鶸的自我修养</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/07/09/关于Java实现的某些算法的记录/">关于Java实现的某些算法的记录</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/06/30/各种杂项（不定期更新）/">各种杂项（不定期更新）</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/06/30/文字处理工具（不定期更新）/">文字处理工具（不定期更新）</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/07/09/用bat文件简化hexo操作/">用bat文件简化hexo操作</a>
                </span>
            </li>
            
        </ul>
    </div>
</aside>
    
    
    <aside id="gal-sets">
        <div class="panel panel-gal hidden-xs" data-aos="fade-up" data-aos-duration="2000">
            <ul class="nav nav-pills pills-gal">
                <li class="">
                    <a href="/2018/06/28/hey-there/index.html#sidebar-tags" data-toggle="tab" id="tags-tab">热门标签</a>
                </li>
                <li class="">
                    <a href="/2018/06/28/hey-there/index.html#sidebar-friend-links" data-toggle="tab" id="friend-links-tab">友情链接</a>
                </li>
                <li class="">
                    <a href="/2018/06/28/hey-there/index.html#sidebar-links" data-toggle="tab" id="links-tab">个人链接</a>
                </li>
            </ul>
            <div class="tab-content">
                <div class="cloud-tags tab-pane nav bs-sidenav fade" id="sidebar-tags">
    
    <a href="/tags/Java/" style="font-size: 15.28231618451403px;" class="tag-cloud-link">Java</a>
    
    <a href="/tags/笔记/" style="font-size: 11.566872033454118px;" class="tag-cloud-link">笔记</a>
    
    <a href="/tags/日常/" style="font-size: 19.99908996698045px;" class="tag-cloud-link">日常</a>
    
    <a href="/tags/纯记忆的学习笔记/" style="font-size: 10.335947281183897px;" class="tag-cloud-link">纯记忆的学习笔记</a>
    
    <a href="/tags/Python/" style="font-size: 14.455777155215976px;" class="tag-cloud-link">Python</a>
    
    <a href="/tags/不定期更新/" style="font-size: 10.072990306619483px;" class="tag-cloud-link">不定期更新</a>
    
    <a href="/tags/hey/" style="font-size: 8.84134304629854px;" class="tag-cloud-link">hey!</a>
    
    <a href="/tags/报错解决方案/" style="font-size: 14.220732750550372px;" class="tag-cloud-link">报错解决方案</a>
    
    <a href="/tags/MySQL/" style="font-size: 8.577705510121532px;" class="tag-cloud-link">MySQL</a>
    
    <a href="/tags/服务器/" style="font-size: 12.052866752514248px;" class="tag-cloud-link">服务器</a>
    
    <a href="/tags/工具/" style="font-size: 19.665030976803408px;" class="tag-cloud-link">工具</a>
    
    <a href="/tags/hexo/" style="font-size: 9.461026475169337px;" class="tag-cloud-link">hexo</a>
    
    <a href="/tags/bat/" style="font-size: 18.190001094497827px;" class="tag-cloud-link">bat</a>
    
    <a href="/tags/偷懒/" style="font-size: 12.332097518469526px;" class="tag-cloud-link">偷懒</a>
    
    <a href="/tags/真·小白/" style="font-size: 17.74858480168792px;" class="tag-cloud-link">真·小白</a>
    
    <a href="/tags/Linux/" style="font-size: 10.975326965574375px;" class="tag-cloud-link">Linux</a>
    
</div>
                <div class="friend-links tab-pane nav bs-sidenav fade" id="sidebar-friend-links">
    
    <li>
        <a href="http://kdays.net/days/" target="_blank">KDays Forum</a>
    </li>
    
    <li>
        <a href="http://www.gal123.com/" target="_blank">绅士导航♂</a>
    </li>
    
    <li>
        <a href="http://www.moe123.com/" target="_blank">萌导航</a>
    </li>
    
    <li>
        <a href="https://google.jiongjun.cc/" target="_blank">Google镜像站</a>
    </li>
    
</div>
                <div class="links tab-pane nav bs-sidenav fade" id="sidebar-links">
    
    <li>
        <a href="https://github.com/Laurence-042" target="_blank">Github</a>
    </li>
    
    <li>
        <a href="http://localhost:4000/" target="_blank">null,没有更多的了</a>
    </li>
    
</div>
            </div>
        </div>
    </aside>
    
</aside>
            </div>
        </div>
    </div>
    <footer id="gal-footer">
    <div class="container">
        Copyright © 2018 Laurence-042 Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>.&nbsp;Theme by <a href="https://github.com/ZEROKISEKI" target="_blank">AONOSORA</a>
    </div>
</footer>

<!-- 回到顶端 -->
<div id="gal-gotop">
    <i class="fa fa-angle-up"></i>
</div>
</body>
<script src="/js/activate-power-mode.js"></script>
<script>

    // 配置highslide
	hs.graphicsDir = '/js/highslide/graphics/'
    hs.outlineType = "rounded-white";
    hs.dimmingOpacity = 0.8;
    hs.outlineWhileAnimating = true;
    hs.showCredits = false;
    hs.captionEval = "this.thumb.alt";
    hs.numberPosition = "caption";
    hs.align = "center";
    hs.transitions = ["expand", "crossfade"];
    hs.lang.number = '共%2张图, 当前是第%1张';
    hs.addSlideshow({
      interval: 5000,
      repeat: true,
      useControls: true,
      fixedControls: "fit",
      overlayOptions: {
        opacity: 0.75,
        position: "bottom center",
        hideOnMouseOut: true
      }
    })

    // 初始化aos
    AOS.init({
      duration: 1000,
      delay: 0,
      easing: 'ease-out-back'
    });

</script>
<script>
	POWERMODE.colorful = 'true';    // make power mode colorful
	POWERMODE.shake = 'true';       // turn off shake
	// TODO 这里根据具体情况修改
	document.body.addEventListener('input', POWERMODE);
</script>
<script>
    window.slideConfig = {
      prefix: '/imgs/slide/background',
      ext: 'jpg',
      maxCount: '6'
    }
</script>
<script src="/js/hs.js"></script>
<script src="/js/blog.js"></script>



<script src="https://imsun.github.io/gitment/dist/gitment.browser.js"></script>
<script>
    if(window.commentConfig) {
      window.commentConfig.id = 'Thu Jun 28 2018 00:01:44 GMT+0000'
      window.commentConfig.owner = 'Laurence-042'
      window.commentConfig.repo = 'blog-comment'
      window.commentConfig.client_id = '41ecdf7be074fb66a1a2'
      window.commentConfig.client_secret = '2382f17284dc9ba9754020431735338ce8d80ec0'
      window.commentConfig.redirect_uri = ''
    } else {
      window.commentConfig = {
      	id: 'Thu Jun 28 2018 00:01:44 GMT+0000',
        owner: 'Laurence-042',
        repo: 'blog-comment',
        client_id: '41ecdf7be074fb66a1a2',
        client_secret: '2382f17284dc9ba9754020431735338ce8d80ec0',
        redirect_uri: ''
      }
    }
</script>

<!--highlight.js-->
<script>
    hljs.initHighlightingOnLoad();
</script>
<script src="/js/comment/gitment.js"></script>

</html>